package cn.hznc.exception;

/**
 * @Author Administrator
 * @Date 2023/3/23 9:26
 */
public enum SystemEx {

    FILE_TYPE_ERROR("1000","文件格式错误"),
    FILE_SIZE_ERROR("1001","文件大小超出限制"),
    FILE_EMPTY_ERROR("1002","文件为空"),
    FILE_EXCEL_MAX_COLUMN_ERROR("1003","文件最大行数超出限制");

    /**
     * 错误编码
     */
    private String code;

    /**
     * 注释信息
     */
    private String msg;


    /**
     *
     * @param code
     */
    SystemEx(String code,String msg) {
        this.code=code;
        this.msg=msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
